import service from "./request";
//注册
export function user_register(params={}){
    return service.post('/user/register',params)
}
//登录
export function user_login(params={}){
    return service.post('/user/login',params)
}
//轮播图
export function index_banner(params={}){
    return service.get('/index/banner',{params})
}
//导航
export function index_nav(params={}){
    return service.get('/index/nav',{params})
}
//推荐列表
export function index_goodlist(params={}){
    return service.get('/index/goodlist',{params})
}
//一级分类
export function category_list(params={}){
    return service.get('/category/list',{params})
}
//二三级分类
export function category_subcate(params={}){
    return service.get('/category/subcate',{params})
}
